import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";

@Entity()
export class Message {
  @PrimaryGeneratedColumn({ type: "bigint" })
  message_id: number;
  @Column({ type: "int" })
  message_user: number;
  @Column({ type: "tinyint" })
  message_type: number;
  @Column({ type: "int" })
  message_room: number;
  @Column({ type: "text" })
  message_content;
  @Column({ type: "tinyint" })
  message_status: number;
  @Column({ type: "int" })
  message_create: number;
}
